#
# Be sure to run `pod lib lint HSToolKit.podspec' to ensure this is a
# valid spec before submitting.
#
# Any lines starting with a # are optional, but their use is encouraged
# To learn more about a Podspec see https://guides.cocoapods.org/syntax/podspec.html
#

Pod::Spec.new do |s|
  s.name             = 'HSToolKit'
  s.version          = '1.1.2'
  s.summary          = '工具类管理，其中包括网络请求、导航栏管理、组件协议管理'
  s.homepage         = 'https://gitee.com/ddhans/HSToolKit'
  s.license          = { :type => 'MIT', :file => 'LICENSE' }
  s.author           = { 'huang' => '772729579@qq.com' }
  s.source           = { :git => 'https://gitee.com/ddhans/HSToolKit.git', :tag => s.version.to_s }
  s.ios.deployment_target = '8.0'

  s.subspec 'HSHttpTool' do |sub|
      sub.source_files = 'HSToolKit/HSHttpTool/*.{h,m}', 'HSToolKit/HSHttpTool/**/*.{h,m}'
      
      sub.dependency 'AFNetworking'
      sub.dependency 'FMDB'
  end
  
  s.subspec 'HSProtocolManager' do |sub|
      sub.source_files = 'HSToolKit/HSProtocolManager/*.{h,m}', 'HSToolKit/HSProtocolManager/**/*.{h,m}'
  end
  
  s.subspec 'HSNavigationBarManager' do |sub|
      sub.source_files = 'HSToolKit/HSNavigationBarManager/*.{h,m}', 'HSToolKit/HSNavigationBarManager/**/*.{h,m}'
  end
  
end
